<template>
    <div class="pageHeight">
        <router-view></router-view>
    </div>
</template>

<style lang="less" scoped>
    // 继承 body 的高度
    .pageHeight{
        height: 100%;

    }
</style>